package com.whpost.service.entity.addr;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yinzhuoyi
 * @since 2020-05-21
 */
@Getter
@Setter
@TableName("T_WX_ADDRESS_BOOK")
@KeySequence(value = "SEQ_T_WX_ADDRESS_BOOK")
public class TWxAddressBook implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "LSH", type = IdType.INPUT)
    private Long lsh;

    @TableField("HYXX_LSH")
    private Long hyxxLsh;

    @TableField("NAME")
    private String name;

    @TableField("TEL")
    private String tel;

    @TableField("TEL_JSM")
    private String telJsm;

    @TableField("FULL_ADDRESS")
    private String fullAddress;

    @TableField("TEL_FENJI")
    private String telFenji;

    public String getFullAddress() {
        return fullAddress;
    }

    public void setFullAddress(String fullAddress) {
        this.fullAddress = fullAddress;
    }

    @TableField("PROVINCE_LSH")
    private Long provinceLsh;

    @TableField("CITY_LSH")
    private Long cityLsh;

    @TableField("COUNTY_LSH")
    private Long countyLsh;

    @TableField("ADDRESS")
    private String address;

    @TableField("GROUP_LABEL")
    private String groupLabel;

    @TableField("IS_DEFAULT")
    private String isDefault;

    @TableField("ADDR_TYPE")
    private String addrType;

    //该属性不为数据库表字段，但又是必须使用的
    @TableField(exist = false)
    private TWxCity tWxCity;

    @TableField(exist = false)
    private String dh;

    //该属性不为数据库表字段，但又是必须使用的
    @TableField(exist = false)
    private TWxProvince tWxProvince;

    //该属性不为数据库表字段，但又是必须使用的
    @TableField(exist = false)
    private TWxCounty tWxCounty;
}
